package com.morgan.test;

import java.util.ArrayList;
import java.util.List;

/**
 * It is used for testing about max number element in List.
 * @author morgan.liao
 *
 */
public class CTArrayListPerf {
    
    
    
    public static void main (String [] args) {
        
        List<String> strList = new ArrayList<String>();
        
        long startTime = System.currentTimeMillis();
        for(int i=0; i<600000; i++) {
            strList.add("Morgan" + i);
        }
        
        System.out.println(System.currentTimeMillis() - startTime);
    }
}
